package com.ybkj.chat.module.mine.activity;

import android.os.Bundle;
import android.view.View;

import com.ybkj.chat.R;
import com.ybkj.chat.base.BaseMvpActivity;
import com.ybkj.chat.module.mine.presenter.ChoosePayPresenter;
import com.ybkj.chat.module.mine.view.ChoosePayView;
import com.ybkj.chat.ui.dialog.ImgTextDialog;

import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * @author yyj
 * @create 2019-02-12 16:49
 * @Describe 选择提现方式
 */
public class ChoosePayActivity extends BaseMvpActivity<ChoosePayPresenter> implements ChoosePayView {
    @Override
    protected void injectPresenter() {

    }

    @Override
    protected void initTitle() {
        setTitleText("提现");
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_choose_pay;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }

    @OnClick({R.id.lnl_alipay, R.id.lnl_wechat})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.lnl_alipay:
                ImgTextDialog imgTextDialog = new ImgTextDialog(this,"支付宝账号绑定后",R.drawable.icon_dialog_alipay);
                imgTextDialog.setCancelable(true);
                imgTextDialog.show();
                break;
            case R.id.lnl_wechat:
                ImgTextDialog imgTextDialog1 = new ImgTextDialog(this,"微信账号绑定后",R.drawable.icon_dialog_wechat);
                imgTextDialog1.setCancelable(true);
                imgTextDialog1.show();
                break;
        }
    }
}
